var express = require('express');
var router = express.Router();

const {register,login,getUserInfo}=require('../controllers/usersControllers')

// /* GET users listing. */
// router.get('/', function(req, res, next) {
//   res.send('respond with a resource');
// });


//发送注册信息
router.post('/register',register );

//发送登陆信息
router.post('/login',login );

//获取考生信息
router.post('/getUserInfo',getUserInfo );


module.exports = router;
